import {
	request
} from '@/utils/request.js'
import {
	data
} from 'uview-ui/libs/mixin/mixin'
export default {
	getCateList() {
		return request('/api/Dynamic/cateList', data)
	},
	//绑定银行卡信息
	BindBank(data) {
		return request('/api/Withdrawal/bindBank', data)
	},
	//修改(改什么传什么,)--绑定银行卡信息
	ModifyCard(data) {
		return request('/api/Withdrawal/editBindBank', data)
	},
	//删除--绑定银行卡信息
	deleteBankCard(data) {
		return request('/api/Withdrawal/delBindBank', data)
	},
	//绑定信息列表
	information(data) {
		return request('/api/Withdrawal/bankList', data)
	},
	//绑定信息详情
	informationDetails(data) {
		return request('api/Withdrawal/bankDetail', data)
	},
	//申请提现
	withd(data) {
		return request('/api/Withdrawal/apply', data)
	},
	//提现列表
	CashWithdrawal(data) {
		return request('/api/Withdrawal/wdList', data)
	},
	//聊天报保存
	saveSmessage(data) {
		return request('/api/chat/save_message', data, 'application/json')
	},
	//初始化渲染聊天记录
	loaDmessage(data) {
		return request('/api/chat/load', data)
	},
	//初始化获取两边头像
	getHead(data) {
		return request('/api/chat/get_head', data)
	},
	//我的消息列表
	messageList(data) {
		return request('/api/chat/get_list', data)
	},
	//更新未读的消息
	UpdateUnread(data) {
		return request('/api/chat/changeNoRead', data)
	},
	//过滤敏感词
	sensitive(data) {
		return request('/api/chat/get_sensitive_word', data)
	},
	//撤回信息
	Retraction(data){
		return request('/api/Chat/delChat',data)
	},
	//验证是否是创作者
	Peiwan(data) {
		return request('/api/user/isPeiwan', data)
	},
	//创造者收益列表
	Creator(data) {
		return request('/api/Income/creatorIncome', data)
	},
	// //创造分类
	// (data){
	// 	return request('/api/Income/creatorIncome', data)
	// }
    //别人给我动态点赞列表 
	PeopleLists(data){
		return request('/api/user/getLike',data)
	},
	//清空动态点赞通知
	notifications(data){
		return request('/api/user/clearLike',data)
	},
	//动态收藏通知列表
	Dynamic(data){
	   return request('api/user/getDynamicList',data)
	},
	//清空用户关注通知列表
	CollectionNotice(data){
		return request('api/user/clearDyClear',data)
	},
	//用户关注通知列表
	attentionNotification(data){
		return request('api/user/getDynamicLikeList',data)
	},
	//首页通知-所有人
	tzEveryone(data){
		return request('api/Agreement/noticeList',data)
	},
	//指定人通知列表
	Designated(data){
		return request('api/user/specifiedNotice',data)
	},
	//清空指定人通知列表
	qikdesignated(data){
		return request('api/user/clearNoticeClear',data)
	}
	
	

}